package com.ssk.sh.config;

/**
 * @author ssk
 * @date 2025/6/11
 **/
//@Configuration
//public class PageHelperConfig {
//    @Bean
//    public PageInterceptor pageHelper() {
//        // 注意这里使用的 PageInterceptor
//        PageInterceptor pageInterceptor = new PageInterceptor();
//        Properties properties = new Properties();
//        properties.setProperty("offsetAsPageNum","true");
//        properties.setProperty("rowBoundsWithCount","true");
//        properties.setProperty("reasonable","true");
//        properties.setProperty("helperDialect", "postgresql");
//        properties.setProperty("supportMethodsArguments","true");
//        properties.setProperty("params","count=countSql");
//        pageInterceptor.setProperties(properties);
//        return pageInterceptor;
//    }
//}